package com.example.domain;

/**
 * @author 01
 * @date 2019-10-05
 **/
public class Student extends BaseNamedEntity{

    private String group;

    public Student(Long id, String name, String group) {
        super(id, name);
        this.group = group;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    @Override
    public String toString() {
        return "Student{" +
                "group='" + group + '\'' +
                ", name='" + name + '\'' +
                ", id=" + id +
                '}';
    }
}
